package com.wuzheng.wisgo.sanitation.cloud.repository.mapper.locate;

import com.wuzheng.wisgo.sanitation.cloud.model.locate.param.PositionParam;
import com.wuzheng.wisgo.sanitation.cloud.model.locate.param.PositionVehicleParam;
import com.wuzheng.wisgo.sanitation.cloud.model.locate.pojo.PositionDto;
import com.wuzheng.wisgo.sanitation.cloud.model.locate.pojo.PositionVehicleTempDto;
import com.wuzheng.wisgo.sanitation.cloud.repository.builder.locate.PositionBuilder;
import com.wuzheng.wisgo.sanitation.cloud.repository.entity.locate.ReceiveInfoNew;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * @author：hoipang
 * @date：Created in 2019-11-04
 * @description：TBox数据最新数据 Mapper 接口
 * @modified By：
 * @version: 1.0
 */
public interface ReceiveInfoNewMapper extends BaseMapper<ReceiveInfoNew> {

    /**
     * 查询所有车辆的地图定位信息
     * @param positionParam
     * @return
     */
    List<PositionDto> selectPositionList(PositionParam positionParam);


    /**
     * 查询定位车辆详细信息
     * @param positionVehicleParam
     * @return
     */
    @SelectProvider(type = PositionBuilder.class, method = "builderSelectPositionVehicleVoInfoSql")
    PositionVehicleTempDto selectPositionVehicleVoInfo(PositionVehicleParam positionVehicleParam);
}
